Release 10.1A: OpenEdge Data Management:
SQL Reference
SQLIStatement.setParam
Sets the value of an SQL statement’s input parameter to the specified value (a literal, procedure variable, or procedure input parameter). This method is common to the
SQLCursor,SQLIStatement, andSQLPStatementclasses.Format
public void setParam(intf, Objectval)Returns
None
Parameters
fAn integer that specifies which parameter marker in the SQL statement is to receive the value (
1denotes the first parameter marker,2denotes the second, and so on).valA literal or the name of a variable or input parameter that contains the value to be assigned to the parameter marker.
Throws
Example
DhSQLExceptionThis code fragment illustrates the
setParammethod:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |